package com.model.dto.device.deviceInfo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

/**
 * TODO
 *
 * @Description
 * @Author tm
 * @Date 2023-06-07 1:18
 **/
@Data
public class GetDeviceListByGpsErrorDTO {
    @ApiModelProperty(value = "page必须是正整数")
    @Range(min = 0, message = "page必须是正整数")
    private int page = 1;

    @ApiModelProperty(value = "pageSize必须是正整数")
    @Range(min = 0, message = "pageSize必须是正整数")
    private int pageSize = 10;
    @ApiModelProperty(value = "设备类型,0全部,1 OBD设备，2安卓版，3播种机")
    private Integer type;
    @ApiModelProperty(value = "数据类型，1定位为N的，2有大于当前时间的数据")
    private Integer dataType;
    @ApiModelProperty(value = "日期,如2023-12-12")
    private String date;
}
